package demo02;

public class Finery extends Person {


  private Person Person;

    public Finery() {
    }

   public  void  decorate(Person person){
        this.Person=person;
   }

    @Override
    public void show() {
        if (Person!=null){
            Person.show();
        }
    }

    public Person getPerson() {
        return Person;
    }

    public void setPerson(demo02.Person person) {
        Person = person;
    }
}
